package com.community.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.community.dao.HomeDao;
import com.community.entity.Home;
import com.community.service.HomeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * (Home)表服务实现类
 *
 * @author makejava
 * @since 2021-09-29 15:27:46
 */
@Service("homeService")
public class HomeServiceImpl extends ServiceImpl<HomeDao, Home> implements HomeService {
    @Resource
    HomeDao homeDao;

    @Override
    public IPage<Home> selectAll(IPage<Home> page, Wrapper<Home> queryWrapper) {
        return homeDao.selectAll(page, queryWrapper);
    }
}

